package cn.gcyl.module.biz.controller.admin.membershipsettings.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 会员设置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MembershipSettingsRespVO {

    @Schema(description = "会员id", requiredMode = Schema.RequiredMode.REQUIRED, example = "787")
    @ExcelProperty("会员id")
    private Long id;

    @Schema(description = "会员名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("会员名称")
    private String membershipName;

    @Schema(description = "价格", example = "16083")
    @ExcelProperty("价格")
    private BigDecimal price;

    @Schema(description = "划线价格", example = "23292")
    @ExcelProperty("划线价格")
    private BigDecimal underlinedPrice;

    @Schema(description = "咨询次数(次数)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("咨询次数(次数)")
    private Long consultationFrequency;

    @Schema(description = "报名次数(次数)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("报名次数(次数)")
    private Long registrationsFrequency;

    @Schema(description = "有效期(天)", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("有效期(天)")
    private Integer lifeSpan;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "会员说明")
    @ExcelProperty("会员说明")
    private String membershipDescription;
}